package com.SRMS.domain;

import java.io.Serializable;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:47
 * @describe StudyRoom表对应类
 */
public class StudyRoom implements Serializable {
    private String studyRoomId;
    private String address;
    private String roomName;
    private int seats;
    private int remainingSeats;

    public StudyRoom() {
    }

    public StudyRoom(String studyRoomId, String address, String roomName, int seats, int remainingSeats) {
        this.studyRoomId = studyRoomId;
        this.address = address;
        this.roomName = roomName;
        this.seats = seats;
        this.remainingSeats = remainingSeats;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public int getSeats() {
        return seats;
    }

    public void setSeats(int seats) {
        this.seats = seats;
    }

    public int getRemainingSeats() {
        return remainingSeats;
    }

    public void setRemainingSeats(int remainingSeats) {
        this.remainingSeats = remainingSeats;
    }

    @Override
    public String toString() {
        return studyRoomId + "\t\t" + address + "\t\t" + roomName + "\t\t" + seats + "\t\t" + remainingSeats;
    }
}
